{% extends "base.html" %}
{% block desktop %}
<div class="shortcut" onclick="Win10.openUrl('/desktop/register')">
    <img class="icon" src="{% static 'img/icon/demo.png' %}"/>
    <div class="title">注册账号</div>
</div>
<div class="shortcut" onclick="Win10.openUrl('/cmdb','资产管理')">
    <img class="icon" src="{% static 'img/icon/computer_on.png' %}" />
    <div class="title">资产管理</div>
</div>
<div class="shortcut" onclick="Win10.openUrl('/monitor','监控管理')">
    <img class="icon" src="{% static 'img/icon/monitor.png' %}" />
    <div class="title">监控管理</div>
</div>
<div class="shortcut" onclick="Win10.openUrl('/setting','系统设置')">
    <img class="icon" src="{% static 'img/icon/settings.png' %}" />
    <div class="title">系统设置</div>
</div>

{% endblock %}

{% block menu %}
<div class="item" ><i class="blue icon fa fa-gavel fa-fw"></i>辅助工具</div>
<div class="sub-item" onclick="Win10.openUrl('win10ui.yuri2.cn/src/tools/builder-shortcut.html','图标代码生成器')">桌面图标代码生成器</div>
<div class="sub-item" onclick="Win10.openUrl('win10ui.yuri2.cn/src/tools/builder-tile.html','磁贴代码生成器')">磁贴代码生成器</div>
<div class="sub-item" onclick="Win10.openUrl('win10ui.yuri2.cn/src/tools/builder-menu.html','菜单代码生成器')">菜单代码生成器</div>
<div class="item"
     onclick="Win10.exit()">
    <i class="black icon fa fa-power-off fa-fw"></i><span class="title">关闭</span>
</div>
<div class="item"
    onclick="location.href='/desktop/logout'">
    <img class="icon" src="{% static 'img/menu/logout.png' %}" />
    <span class="title">退出登录</span>
</div>
{% endblock %}

{% block blocks %}
<div class="menu_group">
    <div class="title">Welcome</div>
    <div class="block" loc="1,1" size="6,4">
        <div class="content">
            <div style="font-size:100px;line-height: 132px;margin: 0 auto ;display: block"
             class="fa fa-fw fa-windows win10-block-content-text"></div>
            <div class="win10-block-content-text" style="font-size: 22px">欢迎使用Akane-Sasu</div>
        </div>
    </div>
</div>
{% endblock %}